using Acme.BookStore.EntityFrameworkCore.EntityFrameworkCore.Configurations;
using Microsoft.EntityFrameworkCore;
using System;

namespace Acme.BookStore.EntityFrameworkCore.Configurations
{
    public static class BookStoreEntityConfigurationExtensions
    {
        public static void ConfigureBookStore(this ModelBuilder builder)
        {

            // 应用所有实体配置
            builder.ApplyConfiguration(new ShopWhereConfiguration());
            
            // 取消注释下面的行
            builder.ApplyConfiguration(new ShopConfiguration());
            
            // 后续可以添加更多实体配置
            // builder.ApplyConfiguration(new KehuConfiguration());
            // ...
        }
    }
} 